<? include 'server_config.php'; 


if($_GET['drug_idx']=="" || $user_idx=="")
{
	
	?>
	<script>
		alert("!");
	</script>
	<?
	return;
}

?>

<meta http-equiv="Content-Type" content="text/html; charset=utf-8">

<?



$sql = "

DELETE FROM ndd_drug WHERE user_idx = '$user_idx' AND drug_idx = '$drug_idx' LIMIT 1;
";

$result = mysql_query($sql,$connect);


?>

<script> 
parent.load_drug_list(0);
</script>











